\hypertarget{classguild__service_1_1common_1_1singleton}{}\doxysection{guild\+\_\+service\+::common\+::singleton$<$ T $>$ Class Template Reference}
\label{classguild__service_1_1common_1_1singleton}\index{guild\_service::common::singleton$<$ T $>$@{guild\_service::common::singleton$<$ T $>$}}


单例模板类  




{\ttfamily \#include $<$singleton.\+hpp$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1singleton_ab6e2e7c31fd3d8aa8308efcf6f76317f}\label{classguild__service_1_1common_1_1singleton_ab6e2e7c31fd3d8aa8308efcf6f76317f}} 
{\bfseries singleton} (const \mbox{\hyperlink{classguild__service_1_1common_1_1singleton}{singleton}} \&)=delete
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1singleton_ae8bef3a27587dc5d3d76a1643f386b2a}\label{classguild__service_1_1common_1_1singleton_ae8bef3a27587dc5d3d76a1643f386b2a}} 
{\bfseries singleton} (\mbox{\hyperlink{classguild__service_1_1common_1_1singleton}{singleton}} \&\&)=delete
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1singleton_ac9e8692ef5ba5bb8066c1416c716e044}\label{classguild__service_1_1common_1_1singleton_ac9e8692ef5ba5bb8066c1416c716e044}} 
\mbox{\hyperlink{classguild__service_1_1common_1_1singleton}{singleton}}$<$ T $>$ \& {\bfseries operator=} (const \mbox{\hyperlink{classguild__service_1_1common_1_1singleton}{singleton}} \&)=delete
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1singleton_ac7b46c79f202a32dc36ec2f07f72019e}\label{classguild__service_1_1common_1_1singleton_ac7b46c79f202a32dc36ec2f07f72019e}} 
{\footnotesize template$<$typename... Args$>$ }\\static T $\ast$ {\bfseries instance} (Args \&\&... args)
\item 
\mbox{\Hypertarget{classguild__service_1_1common_1_1singleton_ad8fd418e071e4a09455c5107dbacb8fa}\label{classguild__service_1_1common_1_1singleton_ad8fd418e071e4a09455c5107dbacb8fa}} 
static void {\bfseries destroy} ()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename T$>$\newline
class guild\+\_\+service\+::common\+::singleton$<$ T $>$}

单例模板类 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{singleton_8hpp}{singleton.\+hpp}}\end{DoxyCompactItemize}
